home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-2000 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: Rect
- @Method: isPointInRect - returns true if Point is in Rect.
- @Syntax: rect.isPointInRect(point)
- @Summary: isPointInRect - tests if Point is in Rect
- */
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("rect.isPointInRect(point)", selection);
- editor.setActive("rect.isPointInRect");
- }
- }
-
- !!/Script
-